//对外暴露一个函数
export const setToken = (token) => {
    localStorage.setItem("TOKEN",token)
}

export const getToken = () => {
    return localStorage.getItem("TOKEN")
}

//清除本地的存储
export const removeToken = ()=>{
    localStorage.removeItem("TOKEN")
}